package org.bistu.course.bean;

import java.util.Date;

public final class Grade {
	private int id;
	private int sid;
	private String coursename;
	private int score;
	private Date createdate;
	private Date updatedate;
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getSid() {
		return sid;
	}
	public void setSid(int sid) {
		this.sid = sid;
	}
	public String getCoursename() {
		return coursename;
	}
	public void setCoursename(String coursename) {
		this.coursename = coursename;
	}
	public int getScore() {
		return score;
	}
	public void setScore(int score) {
		this.score = score;
	}
	public Date getCreatedate() {
		return createdate;
	}
	public void setCreatedate() {
		this.createdate = new Date();
	}
	public Date getUpdatedate() {
		return updatedate;
	}
	public void setUpdatedate(Date updatedate) {
		this.updatedate = updatedate;
	}
	public void setUpdatedate() {
		this.updatedate = new Date();
	}
}
